package cn.exrick.mapper;

import cn.exrick.pojo.TbOrderReturnExchange;
import cn.exrick.pojo.TbOrderReturnExchangeExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface TbOrderReturnExchangeMapper {

    int countByExample(TbOrderReturnExchangeExample example);

    int deleteByExample(TbOrderReturnExchangeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbOrderReturnExchange record);

    int insertSelective(TbOrderReturnExchange record);

    List<TbOrderReturnExchange> selectByExample(TbOrderReturnExchangeExample example);

    TbOrderReturnExchange selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbOrderReturnExchange record, @Param("example") TbOrderReturnExchangeExample example);

    int updateByExample(@Param("record") TbOrderReturnExchange record, @Param("example") TbOrderReturnExchangeExample example);

    int updateByPrimaryKeySelective(TbOrderReturnExchange record);

    int updateByPrimaryKey(TbOrderReturnExchange record);

    List<TbOrderReturnExchange> selectByPage(Map<String, Object> paramsMap);

    int countByPage(Map<String, Object> paramsMap);

}